package com.ice.body.business.dao;

import com.ice.body.business.model.Cabinet;
import com.ice.base.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * Created with GuoYanBin.
 * Description:危化品柜 mapper
 * Date: 2022-10-21
 * Time: 04:11
 */
@Mapper
public interface CabinetMapper extends BaseDao<Cabinet>{

    @Select("select * from t_cabinet where cabNo = #{cabNo}")
    Cabinet getByCabNo(String cabNo);

    @Select("select * from t_cabinet where serialNo = #{serialNo}")
    Cabinet getBySerialNo(String serialNo);
}